print("............................................")
print('单号：DH202301010001')
print("时间：2023-01-01 08：56:15")
print("............................................")
stl1 ='名称'
stl2 ='数额'
stl3 ='单价'
stl4 ='金额'
print(stl1, stl2, stl3, stl4,sep='        ',end='\n')
stl1 =['金士顿u盘8G','胜创16GFT卡','读卡器     ','网线2米    ']
stl2 = ['1','1','1','1']
stl3 = [40.00,50.00,8.00,5.00]
stl4 = float(stl2[0])*stl3[0]
print(stl1[0], stl2[0], stl3[0], stl4,sep='      ',end='\n')
stl4 = float(stl2[1])*stl3[1]
print(stl1[1], stl2[1], stl3[1], stl4,sep='      ',end='\n')
stl4 = float(stl2[2])*stl3[2]
print(stl1[2], stl2[2], stl3[2], stl4,sep='      ',end='\n')
stl4 = float(stl2[3])*stl3[3]
print(stl1[3], stl2[3], stl3[3], stl4,sep='      ',end='\n')
print("............................................")
num =len(stl2)
num1 =sum(stl3)
print('总数:'+str(num)+"       "+"总额："+str(num1))
print('折后总额'+str(num1))
print('实收：103.00'+"        "+"找零：0.00")
print('收银：管理员')
print("............................................")
